FROM centos:centos7.9.2009

RUN whoami




RUN groupadd -r -g 1000 redis && useradd -r -u 1000 -g redis redis
USER redis



#RUN chown -R 1000:1000 /server1

RUN whoami
RUN ls -l /server1/


CMD sleep 5; echo success
